package fourmiefight.pathfinding;

import com.stackframe.pathfinder.DepthFirstSearch;

public class VisisitableDepthFirstSearch implements Visitable
{

	private final DepthFirstSearch algo;

	public VisisitableDepthFirstSearch(DepthFirstSearch algo) {
		this.algo = algo;
	}
	
	@Override
	public void accept(Visitor visitor) {
		visitor.visitDepthFirstSearch(algo);
	}

}
